Patient System API - Implementation Template (US Core)
Field mapping
See src/main/resources/dw/FHIRTools.dwl
for a mapping example.
FHIR Field | Field | Notes |
---|---|---|
name.given | FirstName | In name object filter on use='official'. |
name.family | LastName | In name object filter on use='official'. |
active | Active____c | |
gender | Gender____pc | |
maritalStatus.coding..display | Marital_Status____pc | |
birthDate | PersonBirthdate | |
telecom.value | PersonHomePhone | First filter for use='home' and the for use='mobile'. |
identifier.value | HealthCloudGA____MedicalRecordNumber____c | In identifier object where type.coding.code='MR'. |
identifier.value | HealthCloudGA____SourceSystemId____c | In identifier object where type.coding.code='MR'. |
address.line | PersonMailingStreet | In address object where type='both' or type='postal'. |
address.city | PersonMailingCity | In address object where type='both' or type='postal'. |
address.state | PersonMailingState | In address object where type='both' or type='postal'. |
address.postalCode | PersonMailingPostalCode | In address object where type='both' or type='postal'. |
address.country | PersonMailingCountry | In address object where type='both' or type='postal'. |
EHRPatient
See src/main/resources/dw/EHRPatient.dwl
for a mapping example.
FHIR Field | Field | Notes |
---|---|---|
name.given | HealthCloudGA____GivenName1____c | In name object filter on use='official'. |
name.family | HealthCloudGA____FamilyName1____c | In name object filter on use='official'. |
gender | HealthCloudGA____GenderLabel____c | |
deceasedBoolean | HealthCloudGA____Deceased____c | |
birthDate | HealthCloudGA____BirthDate____c | |
maritalStatus.coding.display | HealthCloudGA____MaritalStatusLabel____c | |
identifier.value | HealthCloudGA____MedicalRecordNumber____c | In identifier object where type.coding.code='MR'. |
identifier.value | HealthCloudGA____SourceSystemId____c | In identifier object where type.coding.code='MR'. |
identifier.system | HealthCloudGA____SourceSystem____c | In identifier object where type.coding.code='MR'. |
address.line | HealthCloudGA____Address1Line1____c | In address object where type='both' or type='postal'. |
address.city | HealthCloudGA____Address1City____c | In address object where type='both' or type='postal'. |
address.state | HealthCloudGA____Address1State____c | In address object where type='both' or type='postal'. |
address.postalCode | HealthCloudGA____Address1PostalCode____c | In address object where type='both' or type='postal'. |
address.country | HealthCloudGA____Address1Country____c | In address object where type='both' or type='postal'. |
telecom.system | HealthCloudGA____Telecom[ind]System____c | In telecom object the destination field has an integer set as the index of the telecom record. |
telecom.use | HealthCloudGA____Telecom[ind]Use____c | In telecom object the destination field has an integer set as the index of the telecom record. |
telecom.value | HealthCloudGA____Telecom[ind]Value____c | In telecom object the destination field has an integer set as the index of the telecom record. |